<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		
		<link href="<c:url value='/resources/css/bootstrap.css'/>" rel="stylesheet">
		<link href="<c:url value='/resources/css/custon_login.css'/>" rel="stylesheet">
	
		<title>LOGIN</title>
	</head>
	<body>
	
		<div class="container">
		
	      	<form class="form-signin" method="POST" action="logar">
		      
		        <fieldset>
		        	<legend style="text-align: center;">LOGIN</legend>
		        </fieldset>
		        
		      		<input type="text" name="usuario" class="input-block-level form-control" placeholder="E-mail"  />
		      		<input type="Password" name="senha" class="input-block-level form-control" placeholder="Senha"  />		
	
				<c:if test="${error != null}">
					<div class="alert alert-danger" style="text-align: center;">
				    	${error} 
				    </div>
				</c:if>
		        
		        <button class="btn btn-lg btn-primary btn-block" type="submit">Logar</button>
		        	
		      </form>
		
	    </div> <!-- /container -->
	
	</body>
</html>